import request from "@/utils/request";

// 获取列表
export function getAllList(query) {
  return request({
    url: "/houMonData/getPage",
    method: "get",
    params: query,
  });
}

// 查看
export function getDetail(id) {
  return request({
    url: "/houMonData/findById",
    method: "get",
    params:id
  });
}

// 获取结构类型
export function getAllStructureTypeList(query) {
  return request({
    url: "/houseStructureManagement/findAll",
    method: "get",
  });
}

// 获取编号
export function getCode(id) {
  return request({
    url: "/houMonData/getHouMonCode",
    method: "get",
    params:id
  });
}
// 获取抽样点列表
export function getSamPoiByXsemId(query) {
  return request({
    url: "/samPoiData/getSamPoiByXsemId",
    method: "get",
    params: query,
  });
}